package com.mf.entity.request.user;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @Author: lmf
 * @Create: 2024/7/9 15:07
 * Description: 用户登录
 */
@Data
//@Builder
public class UserLoginRequest {
    @NotBlank(message = "账号不能为空")
    @Schema(description = "账号", example = "hello")
    private String name;

    @NotBlank(message = "密码不能为空")
    @Schema(description = "密码", example = "123456")
    private String pwd;

    @Schema(description = "系统编号", example = "ehr")
    @NotBlank(message = "系统编号不能为空")
    private String systemCode;
}
